<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>
<head>

<title>FMPC - Authentication</title>
<style type="text/css">
<%@include file="/css/styleN.css"%>
<%@include file="/css/login-box.css"%>
<%@include file="/css/style.css"%>
</style>
<c:url value="/img/LOGO_FMPC.png" var="logoURL" />
<c:url value="/img/chu.png" var="logochuURL" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />

</head>
<body >
   	<div id="wrapper" style="height : 650px; background: #f7f7f7;" >

		  <!-- Begin Header -->
         <div id="header">
			<img id="logoFMPC" src="${logoURL}" /> 
			<p id="header-title">
		       Centre Hospitalier Universitaire de Casablanca		 
			   <br/>
			   Gestion des surveillances 
			   <br/>
			   des examens/concours
			</p>   
			<img id="logoCHU" src="${logochuURL}" /> 
			   
		 </div>
		 <!-- End Header -->


				<div id="boxlogin" style="margin-bottom:10px;">
				<form:form method="POST" commandName="user">
				<form:errors path="*" cssClass="errorblock" element="div" />
						<fieldset>
							<legend>Authentication</legend>
							<div class="row">
								<span class="label"> <label>Login</label>
								</span> <span class="formw"> <form:input path="login"
									name="login_name" id="login_name" required="required" />
								</span>
							</div>
							<div class="row">
								<span class="label"><label>Password</label></span> <span
									class="formw"> 
									<form:password path="password" name="login_password" id="login_password" required="required" />
									
								</span>
							</div>
						</fieldset>
						
						<p>
							<span ><input type="submit" name="submit" value="connexion"
								class="submit" /></span>
						</p>

					</form:form>
					<script type='text/javascript'>
						document.getElementById('login_name').focus();
					</script>
				</div>


         <div id="footer">
         </div>
</div>
<!-- End Wrapper -->

</body>
</html>

